﻿#pragma once
#include "AsTask.h"
#include "AsDetector.h"

// 检测任务类
class ADF_EXPORT AsDetectTask : public AsTask {
public:
	AsDetectTask(int iStoreKey, AsDetector* pDetector);

private:
	AsDetector*		m_pDetector;					//检测算子
	int				m_iStoreKey;					//存图的键名

public:
	virtual int onTaskAction() override;			//执行任务

};


// 3D检测任务类,默认取到2张图，第一张深度图，第二张灰度图
class ADF_EXPORT AsDetect3DTask : public AsTask {
public:
	AsDetect3DTask(int iStoreKey, AsDetector* pDetector);

private:
	AsDetector*		m_pDetector;					//检测算子
	int				m_iStoreKey;					//存图的键名

public:
	virtual int onTaskAction() override;			//执行任务

};
